<?php

$starttime = explode(' ', microtime());

$starttime = $starttime[1] + $starttime[0];

?>
<?php

require_once('forum/SSI.php');
require_once('setup.php');
require_once('functions/common.php');
require_once('functions/db.php');
require_once('class/paginator.class.php');


$smarty = new APP_Smarty();
if(isset($_REQUEST['page'])) {
    $page = $_REQUEST['page'];
    include ('includes/' . $page . '.php');
}
elseif (isset($_REQUEST['handler'])) {
    $handler = $_REQUEST['handler'];
    include ('handlers/' . $handler . '.php');
}
else {
    $page = 'pocetna';
    include ('includes/pocetna.php');
}
?>